Skip to content

Conversation

@giriss
Copy link

@giriss giriss commented Aug 17, 2017

No description provided.

@giriss giriss changed the title Image crop & resize DO NOT MERGE: Image crop & resize Aug 17, 2017

<img src="https://raw.githubusercontent.com/Akhilesh05/img/master/scale.jpg">

* fit - The image is made to fit either horizontally or vertically in way so as not to lose any detail of the image and also preserve the proportion. Some unused spaces may be left which results in a smaller image than expected.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fit => fit etc

@@ -0,0 +1,48 @@
public with sharing class SharinPixResizeDemo {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add Ctrl or Controller based on other demos

var data = e.data;
switch (data.name) {
case 'viewer-image-viewed':
latestImageViewed = data.payload.image.public_id;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image instead of ID

@kevanmoothien kevanmoothien removed their request for review August 2, 2021 07:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants